﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using DBMigrator.Core.Execution;
using StructureMap;

namespace DBMigrator.Core
{
    public static class StructureMapSetup
    {
        public static void RunSetup(Assembly assemblyContainingMigrations, string environment)
        {
            ObjectFactory.Initialize(x => x.AddRegistry(new ExecutionRegistry(assemblyContainingMigrations)));
        }
    }
}
